package com.model.pojo;

import org.springframework.stereotype.Component;

@Component
public class Listing {
    private int ID;
    private String listingSerialNumber;
    private String medicalCardNumber;
    private String listingProject;
    private String listingPrice;
    private String listingPayCost;
    private Buildcard  Buildcard;


    public Listing() {
    }

    @Override
    public String toString() {
        return "Listing{" +
                "ID=" + ID +
                ", listingSerialNumber='" + listingSerialNumber + '\'' +
                ", medicalCardNumber='" + medicalCardNumber + '\'' +
                ", listingProject='" + listingProject + '\'' +
                ", listingPrice='" + listingPrice + '\'' +
                ", listingPayCost='" + listingPayCost + '\'' +
                ", Buildcard=" + Buildcard +
                '}';
    }

    public Listing(int ID, String listingSerialNumber, String medicalCardNumber, String listingProject, String listingPrice, String listingPayCost, com.model.pojo.Buildcard buildcard) {
        this.ID = ID;
        this.listingSerialNumber = listingSerialNumber;
        this.medicalCardNumber = medicalCardNumber;
        this.listingProject = listingProject;
        this.listingPrice = listingPrice;
        this.listingPayCost = listingPayCost;
        Buildcard = buildcard;
    }

    public int getID() {
        return ID;
    }

    public void setID(int ID) {
        this.ID = ID;
    }

    public String getListingSerialNumber() {
        return listingSerialNumber;
    }

    public void setListingSerialNumber(String listingSerialNumber) {
        this.listingSerialNumber = listingSerialNumber;
    }

    public String getMedicalCardNumber() {
        return medicalCardNumber;
    }

    public void setMedicalCardNumber(String medicalCardNumber) {
        this.medicalCardNumber = medicalCardNumber;
    }

    public String getListingProject() {
        return listingProject;
    }

    public void setListingProject(String listingProject) {
        this.listingProject = listingProject;
    }

    public String getListingPrice() {
        return listingPrice;
    }

    public void setListingPrice(String listingPrice) {
        this.listingPrice = listingPrice;
    }

    public String getListingPayCost() {
        return listingPayCost;
    }

    public void setListingPayCost(String listingPayCost) {
        this.listingPayCost = listingPayCost;
    }

    public com.model.pojo.Buildcard getBuildcard() {
        return Buildcard;
    }

    public void setBuildcard(com.model.pojo.Buildcard buildcard) {
        Buildcard = buildcard;
    }
}
